import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'

import user from './modules/user'

Vue.use(Vuex)

export default new Vue.Store({
  plugins: [createPersistedState()],
  modules: {
    user
  },
  getters: getters
})
